package com.yudedu.hospital.mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import com.yudedu.hospital.entity.User;
import com.yudedu.hospital.entity.UserLogin;

@Service
public interface UserLoginMapper {
	
	
	
	UserLogin query();
	public UserLogin login(@Param("username")String username,@Param("password")String password);
	public void edit(@Param("password")String renewpass,@Param("id")int id);
	void register(@Param("username")String username,@Param("password")String password);
	UserLogin queryUser(@Param("username")String username,@Param("password")String password);
	UserLogin querycx(String username);
}
